package com.qfedu.yanglao20admin.inform.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qfedu.yanglao20.common.param.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("告警纪录分页参数")
@Data
public class AlarmRecordParam extends PageParam {

    @ApiModelProperty("告警时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date alarmTime;


    @ApiModelProperty("残疾人姓名")
    private String name;

    @ApiModelProperty("状态0待处理1已处理2处理中")
    private Integer stateFlag;

}